/**
 * ZHU framework. Copyright 2012-, all rights reserved.
 *
 * $Id: StaffConversation.java 46 2012-09-19 09:10:23Z zhuxiaopeng $
 * $Revision: 46 $
 * $Date: 2012-09-19 17:10:23 +0800 (三, 2012-09-19) $
 * $Author: zhuxiaopeng $
 */
package daily.web.staff;

import java.util.*;

import javax.enterprise.context.*;
import javax.inject.*;

import daily.entity.*;
import daily.web.*;

/**
 * <p>
 * </p>
 * 
 * @author $Author: zhuxiaopeng $
 * @version $Revision: 46 $ - $Date: 2012-09-19 17:10:23 +0800 (三, 2012-09-19) $
 */
@Named
@ConversationScoped
public class StaffGroupConversation extends AbstractConversation {

	/**
	 * <h3>スレッドセーフ性</h3>
	 * <p>
	 * この変数は<code>this</code>によってGuardされる。 この変数は<code>final</code>
	 * であり、参照先がスレッドセーフであるため、スレッドセーフ性を破ることはない。
	 * この変数の参照先はスレッドセーフ<strong>ではない</strong>。
	 * </p>
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * @return the staffGroupList
	 */
	public synchronized List<StaffGroup> getStaffGroupList() {
		return staffGroupList;
	}

	/**
	 * @param staffGroupList
	 *            the staffGroupList to set
	 */
	public synchronized void setStaffGroupList(final List<StaffGroup> staffGroupList) {
		this.staffGroupList = staffGroupList;
	}

	/**
	 * @return the selectStaffGroup
	 */
	public synchronized StaffGroup getSelectStaffGroup() {
		return selectStaffGroup;
	}

	/**
	 * @param selectStaffGroup
	 *            the selectStaffGroup to set
	 */
	public synchronized void setSelectStaffGroup(final StaffGroup selectStaffGroup) {
		this.selectStaffGroup = selectStaffGroup;
	}

	private List<StaffGroup> staffGroupList;

	private StaffGroup selectStaffGroup;
}
